const express = require("express");
const app = express()
app.use(express.static(__dirname + '/public'));
app.get("/home", (req, res) => {
    res.end("hello express")
});
app.listen("5000", (err) => {
    if (!err) {
        console.log("服务器已经启动");
    }
})